package com.azdebugit.enu.test;

public enum Season {
    SPRING, SUMMER, AUTUMN, WINTER;

    public static void main(String[] args) {
        System.out.println(Season.AUTUMN);
        System.out.println(Season.values());
        Season[] values = Season.values();
        System.out.println(values[0]);
        System.out.println(Season.getComfortableSeason());
    }
    //最舒服的季节
    public static Season getComfortableSeason(){
        return SPRING;
    }
}